package com.stars.entity.dto.pshow;

import lombok.Data;
import java.math.BigDecimal;
import com.stars.common.annotation.Dict;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.stars.common.base.dto.BaseDto;
import com.stars.common.base.BaseUUID;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Title: 订单明细表DTO
 * @author 肖伟
 * @date 2020-01-04
 * @version V1.0
 *
 */
@Data
public class PShowOrdersInfoDTO extends BaseDto{

	/**订单ID*/
	@ApiModelProperty(value ="订单ID",name = "pShowOrdersId")
	private String pShowOrdersId;
	/**产品ID*/
	@ApiModelProperty(value ="产品ID",name = "productId")
	private String productId;
	/**数量*/
	@ApiModelProperty(value ="数量",name = "number")
	private Long number;
	/**单价（元）*/
	@ApiModelProperty(value ="单价（元）",name = "price")
	private Double price;
	/**折扣*/
	@ApiModelProperty(value ="折扣",name = "discount")
	private Double discount;
	/**折扣价（元）*/
	@ApiModelProperty(value ="折扣价（元）",name = "discountPrice")
	private Double discountPrice;
	/**总价*/
	@ApiModelProperty(value ="总价",name = "sumPrice")
	private Double sumPrice;
	/**完成数量*/
	@ApiModelProperty(value ="完成数量",name = "doneNumber")
	private Long doneNumber;
	/**状态*/
	@ApiModelProperty(value ="状态",name = "status")
	private Integer status;
	/**产品名称*/
	@ApiModelProperty(value ="产品名称",name = "productName")
	@Dict(dictTable = "p_show_product",dictCode = "id",dictName="name",dictSource="product_id")
	private String productName;
	/**产品规格*/
	@ApiModelProperty(value ="产品规格",name = "productGg")
	@Dict(dictTable = "p_show_product",dictCode = "id",dictName="size",dictSource="product_id")
	private String productGg;
}